//--------------------------------------------------------------------------------
// This file is a portion of the D2D1Renderer.  It is distributed
// under the MIT License, available in the root of this distribution and 
// at the following URL:
//
// http://www.opensource.org/licenses/mit-license.php
//
// Copyright (c) Mirco Timmermann
//
//--------------------------------------------------------------------------------
#pragma once

#include "..\D2D1Renderer.h"

class Image {

public:
	Image(std::wstring filename);
	~Image(void);

	ID2D1Bitmap* getBitmap() {
		return _bitmap;
	}

	D2D1_RECT_F* getRect() {
		return _rect;
	}

	float getWidth() {
		return (float)_width;
	}

	float getHeight() {
		return (float)_height;
	}

private:
	ID2D1Bitmap* _bitmap;
	D2D1_RECT_F* _rect;

	int _width;
	int _height;

};
